<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<ui:composition template="/WEB-INF/template/basicTemplate.xhtml">

	<ui:define name="content">
		<head>
<title>
	<h:outputText value="#{msg.answers}" />
</title>
		</head>
		<br />
		<f:event listener="#{hrBean.verify()}" type="preRenderView"></f:event>
		<h:form id="form1">
			<div align="center">
				<h:selectOneMenu value="#{hrBean.selected}" styleClass="dropdownlist">
					<f:selectItems value="#{hrBean.chestionare}" var="item"
						itemLabel="#{item.nume}" itemValue="#{item.id}" />
				</h:selectOneMenu>
				<br></br>
				<br></br>
				<h:outputText value="#{msg.file}:" />
				<h:inputText value="#{hrBean.fisier}"/>
				<br></br>
				<h:commandButton value="OK" styleClass="button" action="#{hrBean.generateRaspunsuri()}"/>
				<br></br>
				<h:commandButton value="#{msg.back}" action="humanres.xhtml"
					styleClass="button" />
				<br></br>
				<h:commandButton value="#{msg.logout}" styleClass="button"
					action="#{loginBean.logOut()}" />
				<br></br>
			</div>
		</h:form>
	</ui:define>

</ui:composition>

</html>






